﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Scrum.SwimLanes.Models
{
    public class ClientWorkItem
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string AreaPath { get; set; }
        public int SprintNumber { get; set; }
        public string Status { get; set; }
        public string AssignedTo { get; set; }
        public string LastChangedBy { get; set; }
        public string EstimatedEffort { get; set; }
        public string WorkRemaining { get; set; }
        public WorkItemType WorkItemType { get; set; }
        public string TeamProjectName { get; set; }
        public int NotDoneItems { get; set; }
        public int InProgressItems { get; set; }
        public int DoneItems { get; set; }
        public int RelatedWorkItems { get; set; }
    }

    public class ClientWorkItemList
    {
        public List<ClientWorkItem> NotDoneItems { get; set; }
        public List<ClientWorkItem> InProgressItems { get; set; }
        public List<ClientWorkItem> DoneItems { get; set; }
    }

    public class WorkItemCounts
    {
        public int NotDoneItemCount { get; set; }
        public int InProgressItemCount { get; set; }
        public int DoneItemCount { get; set; }
    }

    public enum WorkItemType
    {
        ProductBacklogItem,
        SprintBacklogItem
    }
}